package com.example.demo;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * 学生mapper
 */

@Mapper
@Repository
public interface StudentMapper {
    @Select("select * from student where id=#{id}")
    Student findById(Integer id);

}
